package com.me.dao.db;

import java.util.ArrayDeque;
import java.util.Queue;

public class KeyValuePairs {
	private Queue<KeyValuePair> kvs = new ArrayDeque<>();

	public KeyValuePairs add(String key,Object value) {
		kvs.add(new KeyValuePair(key, value));
		return this;
	}

	public KeyValuePair poll() {
		return kvs.poll();
	}

	public int size() {
		return kvs.size();
	}

	public KeyValuePair peek() {
		return kvs.peek();
	}


}
